package cn.zyl.bsbdj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
//扫描mapper包自动生成mapper对应的实现类
@MapperScan("cn.zyl.bsbdj.mapper")
@EnableScheduling  //@EnableScheduling代表启用任务调度
public class BsbdjApplication {
    public static void main(String[] args) {
        SpringApplication.run(BsbdjApplication.class, args);
    }
}
